package org.jeecg.modules.monitoring.j_monitoring.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: storage_add_log
 * @Author: wangd
 * @Date:   2023-12-17
 * @Version: V1.0
 */
@Data
@TableName("storage_add_log")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="storage_add_log对象", description="storage_add_log")
public class StorageAddLog implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**存储系统id*/
	@Excel(name = "存储系统id", width = 15)
    @ApiModelProperty(value = "存储系统id")
    private String storageId;
	/**集群名称*/
	@Excel(name = "集群名称", width = 15)
    @ApiModelProperty(value = "集群名称")
    private String storageName;
	/**记录时间按月份来*/
	@Excel(name = "记录时间按月份来", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "记录时间按月份来")
    private Date recordTime;
	/**比前月增长数*/
	@Excel(name = "比前月增长数", width = 15)
    @ApiModelProperty(value = "比前月增长数")
    private BigDecimal addNum;
	/**剩余数*/
	@Excel(name = "剩余数", width = 15)
    @ApiModelProperty(value = "剩余数")
    private BigDecimal residueNum;
}
